package edu.njust.httpmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.njust.httpmanager.entity.ProgramMember;
import edu.njust.httpmanager.entity.dto.ProgramMemberDto;

import java.util.List;

public interface IProgramMemberService extends IService<ProgramMember> {

    ProgramMember getAuth(Long userId, Long programId);

    List<ProgramMemberDto> getWithAuthAndNameByProgramId(Long programId);

    boolean joinIn(ProgramMember member);
}
